import layout from '@/layout/index'
const lostRouter = [
  {
    path: '/lost',
    component: layout,
    isParent: true,
    redirect: '/lost/list',
    meta: {
      title: '失物招领',
      icon: 'lost'
    },
    children: [
      {
        path: '/lost/list',
        component: () => import('@/views/single/lost/list/index'),
        meta: {
          title: '失物管理',
          icon: 'lost-list'
        }
      },
      {
        path: '/lost/create',
        component: () => import('@/views/single/lost/create/index'),
        meta: {
          title: '失误创建',
          icon: 'add'
        }
      }
    ]
  },
  {
    name: '失物展示',
    path: '/lost/show',
    component: () => import('@/views/single/lost/show/index'),
    meta: {
      title: '失物展示'
    }
  },
  {
    name: '失物申领',
    path: '/lost/apply/:id',
    component: () => import('@/views/single/lost/apply/index'),
    meta: {
      title: '失物申领'
    }
  }
]
export default lostRouter
